#include <iostream>
#include <cstring>
#include <string>
#include <ctime>

extern "C" {
#include "REScan.h"
};

int main()
{
	StartREScan();

	const char* input = "10,20 40,30 50.6,95.4";
	float x, y;
	while (input)
	{
		input = Scan(input, "float: ',' float: ' '", &x, &y);
		printf("Pair: %fx%f\n", x, y);
	}

	system("PAUSE");
	return 0;
}